package com.ruoyi.teacher.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.teacher.domain.TOption;
import com.ruoyi.teacher.vo.TOptionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 选项Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-03
 */
public interface TOptionMapper extends BaseMapper<TOption> {

    Page<TOptionVo> queryList(Page<?> page, @Param("entity") TOptionVo entity);

    List<TOptionVo> queryList(@Param("entity") TOptionVo entity);

    TOptionVo queryById(@Param("id") Long id);

}
